<ion-view view-title={{vm.interfaces.dormName}}详情>
    <ion-content class="tab-background">
        <div class="ssl-studentList" ng-class="{studentList:vm.collect.studentList}">
            <div class="sel ssl-sel">

                <select ng-model="vm.collect.selected"
                        ng-change="vm.collect.Changed()"
                        ng-options="r.departName for r in vm.collect.List" class="first_select">
                </select>
            </div>
            <div class="main" id="ssl">
                <!--<div class="room_area"  >-->
                    <div class="qy " ng-class="{emptyBedItemHeight:vm.collect.fromEmptyBed}"
                         style="width: 46%" ng-hide="vm.collect.fromEmptyBed&&x.allBedCount-x.inCount==0" ng-repeat="x in vm.collect.floorRooms">
                        <div class="til" ng-class="{girl:x.persons[0].sex=='女',boy:!vm.collect.girl}">{{x.roomName}}号</div>
                        <div class="xy">{{x.persons[0].department}}</div>
                        <div class="ry" ng-if="!vm.collect.fromEmptyBed" ng-repeat="y in x.persons;"><a on-tap="vm.collect.qhbtn(y.stuId)"><span>{{$index+1}}</span>{{y.name}}</a>
                        </div>
                        <div ng-if="vm.collect.fromEmptyBed">
                            <div style="font-size: 25px">{{x.allBedCount-x.inCount}}</div>
                            <div class="xy">空床位</div>
                        </div>
                    </div>
                <!--</div>-->


            </div>
        </div>

    </ion-content>
</ion-view>